export default class Runtime {
  constructor() {
    this.config = new Map()
    this.methods = new Map()
    this.modules = new Map()
    this.variables = new Map()
    this.scopes = new Map()
    this.parent = null
    this.return = null
    this.alias = null
    this.init()
  }

  init() {
    const config = this.config
    config.set('X_HOME', '')
    config.set('PRINT_SOURCE_CODE', false)
    config.set('PRINT_INPUTS', false)
    config.set('PRINT_TOKENS', false)
    config.set('PRINT_AST', false)
    config.set('PRINT_RUNTIME_BEFORE_RUN', false)
    config.set('PRINT_RUNTIME_AFTER_INIT', false)
    config.set('PRINT_RUNTIME_AFTER_RUN', false)
  }
}
